<div class="fly-home" style="background-image: url();"><img src="__ROOT__<?php echo $u_info['face'] ?>" alt="<?php echo $u_info['nickname'] ?>">
    <h1> <?php echo $u_info['nickname']?> 
<?php if ($u_info['sex']=='男') { ?>
         <i class="iconfont <?php echo 'icon-nan' ?> "></i>
   <?php }elseif($u_info['sex']=='女') { ?>
        <i class="iconfont <?php echo 'icon-nv' ?> "></i>
   <?php } ?></h1>
    <p class="fly-home-info"><i class="iconfont icon-zuichun" title="飞吻"></i><span style="color: #FF7200;"><?php echo $u_info['kiss']?>飞吻</span>
        <i class="iconfont icon-shijian"></i><span><?php echo CTS($u_info['create_time']) ?> 加入</span> <i class="iconfont icon-chengshi"></i><span>来自<?php echo $u_info['city']?></span>
    </p>
    <p class="fly-home-sign">（
     <?php if (!empty($u_info['sign'])) { ?>
        <?php echo $u_info['sign'] ?>
   <?php }else{ ?>
这家伙很懒，没留下签名
   <?php } ?>
   ）</p></div>
<div class="main fly-home-main">
    <div class="layui-inline fly-home-jie">
        <div class="fly-panel"><h3 class="fly-panel-title"><?php echo $u_info['nickname']?> 最近的提问</h3>
            <ul class="jie-row">
                <?php if (empty($w_info)) { ?>
                    <div class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><i style="font-size:14px;">没有发表任何求解</i></div>
                <?php }else{ ?>
                    <?php foreach ($w_info as $ka => $va) { ?>
                    <li>
                    <?php if ($va['state']==2) { ?>
                        <span class="fly-jing">精</span>
                    <?php } ?>
                        <a href="{:U('Home/contg/index',array('id'=>$va['id2']))}" class="jie-title">
                            <?php echo $va['title'] ?>
                        </a>
                        <i><?php echo CTS($va['time2']) ?></i>
                        <em><?php echo $va['view_num'] ?>阅/<?php echo $va['answer_num'] ?>答</em>
                    </li>
                    <?php } ?>
                 <?php }?>

                
            </ul>
        </div>
    </div>
    <div class="layui-inline fly-home-da">
        <div class="fly-panel"><h3 class="fly-panel-title"><?php echo $u_info['nickname'] ?> 最近的回答</h3>
            <ul class="home-jieda">
                <?php if (empty($a_info)) { ?>
                    <div class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><span>没有回答任何问题</span></div>
                <?php }else{ ?>
                    <?php foreach ($a_info as $kb => $vb) { ?>
                    <li><p><span><?php echo CTS($vb['time3']) ?></span> 在<a href="{:U('Home/contg/index',array('id'=>$vb['id3']))}" target="_blank"><?php echo $vb['title3'] ?></a>中回答：
                    </p>
                        <div class="home-dacontent"><?php echo htmlspecialchars_decode($vb['content'])  ?></div>
                    </li>
                   <?php } ?>
                <?php } ?>

                
            </ul>
        </div>
    </div>
</div>